import express from 'express';
import { FacilityController } from '../controllers/facilityController.js';

const router = express.Router();

router.get('/', FacilityController.getAllRecords);
router.post('/', FacilityController.createRecord);
router.put('/:id', FacilityController.updateRecord);

export default router;